package com.olc.railing.model;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

import java.io.Serializable;


@DatabaseTable(tableName = "gas_bill_info")//创建表名
public class BillInfo implements Serializable {
    public BillInfo() {
    }

    @DatabaseField(generatedId = true)
    private int id;
    @DatabaseField(columnName = "bill_info_data")
    private String billInfoData;
    @DatabaseField(columnName = "gas_info_data")
    private String gasInfoData;


    @DatabaseField(columnName = "upload_status",defaultValue = "0")
    private  int  uploadStatus;

    @DatabaseField(columnName = "gas_order_id")
    private String gasOrderId;

    @DatabaseField(columnName = "error_count",defaultValue = "0")
    private int errorCount;

    @DatabaseField(columnName = "bill_uuid_id")
    private String billUuid;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getBillInfoData() {
        return billInfoData;
    }

    public void setBillInfoData(String billInfoData) {
        this.billInfoData = billInfoData;
    }

    public String getGasInfoData() {
        return gasInfoData;
    }

    public void setGasInfoData(String gasInfoData) {
        this.gasInfoData = gasInfoData;
    }

    public int getUploadStatus() {
        return uploadStatus;
    }

    public void setUploadStatus(int uploadStatus) {
        this.uploadStatus = uploadStatus;
    }

    public String getGasOrderId() {
        return gasOrderId;
    }

    public void setGasOrderId(String gasOrderId) {
        this.gasOrderId = gasOrderId;
    }

    public int getErrorCount() {
        return errorCount;
    }

    public void setErrorCount(int errorCount) {
        this.errorCount = errorCount;
    }

    public String getBillUuid() {
        return billUuid;
    }

    public void setBillUuid(String billUuid) {
        this.billUuid = billUuid;
    }

    @Override
    public String toString() {
        return "BillInfo{" +
                "id=" + id +
                ", billInfoData='" + billInfoData + '\'' +
                ", gasInfoData='" + gasInfoData + '\'' +
                ", uploadStatus=" + uploadStatus +
                ", gasOrderId='" + gasOrderId + '\'' +
                ", errorCount=" + errorCount +
                ", billUuid='" + billUuid + '\'' +
                '}';
    }
}